import { Controller, Post, Get } from '@nestjs/common';

@Controller('auth')
export class AuthController {
  @Get('login')
  public async login() {
    return {
      user: 123,
    };
  }

  @Post('register')
  public async register() {
    return {
      res: 'hello world',
    };
  }
}
